﻿    using System;
    using Framework;
    using UnityEngine;

    public class StaticView : View
    {
        private bool show = false;
        private void Awake()
        {
            show = true;
            Log.Debug("StaticView Awake"+Time.frameCount);
        }

        private void Start()
        {
            
            Log.Debug("StaticView Start"+Time.frameCount);
        }

        protected override void Init()
        {
            Log.Debug("StaticView Init"+Time.frameCount);
        }

        protected override void RegisterEvent()
        {
            
        }

        private void Update()
        {
            if (show)
            {
                Log.Debug("StaticView Update"+Time.frameCount);
            }
        }

        private void LateUpdate()
        {
            if (show)
            {
                show = false;
                Log.Debug("StaticView LateUpdate"+Time.frameCount);
            }
        }
    }
